package com.ocss.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ocss.common.annotation.Excel;
import com.ocss.common.core.domain.BaseEntity;

/**
 * 成绩管理对象 ocss_achievement
 *
 * @author ligen
 * @date 2024-03-09
 */
public class OcssAchievement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 成绩id
     */
    private Long id;

    /**
     * 学生id
     */
    @Excel(name = "学生id")
    private Long studentId;

    /**
     * 课程id
     */
    @Excel(name = "课程id")
    private Long courseId;

    /**
     * 成绩
     */
    @Excel(name = "成绩")
    private String achievement;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setAchievement(String achievement) {
        this.achievement = achievement;
    }

    public String getAchievement() {
        return achievement;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("studentId", getStudentId())
                .append("courseId", getCourseId())
                .append("achievement", getAchievement())
                .toString();
    }
}
